﻿using System;

namespace DesignPattern.com.state {
    public abstract class State {
        protected Context con;

        public State(Context con){
            Console.WriteLine("state-State="+con);
            this.con = con;
        }

        public abstract void Handle(int val);
        
    }
}